package designPattern.builderPattern;

public class Main {

	public static void main(String[] args) {
		//将具体的建造器交给指挥员指挥
		PhoneDirector huaWeiPhoneDirector = new PhoneDirector(new HuaWeiBuilder());
		huaWeiPhoneDirector.construct();
		huaWeiPhoneDirector.showPhone();

		PhoneDirector XiaoMiPhoneDirector = new PhoneDirector(new XiaoMiBuilder());
		XiaoMiPhoneDirector.construct();
		XiaoMiPhoneDirector.showPhone();
	}
}
